Skip to content

[16/n] tensor engine: enum-ify PythonMessage #529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

zdevito
Copy link
Contributor

@zdevito zdevito commented Jul 14, 2025

Stack from ghstack (oldest at bottom):

PythonMessage was getting a bit stringly typed. I've sectioned into 4 enum case (CallMethod, Result, Exception, Uninit) which capture when you have to pay attention to things like rank/response_port.

I have to further add functionality in a follow-up to get actor ordering correct.

Differential Revision: D78295683

PythonMessage was getting a bit stringly typed. I've sectioned into 4 enum case (CallMethod, Result, Exception, Uninit) which capture when you have to pay attention to things like rank/response_port.

I have to further add functionality in a follow-up to get actor ordering correct.

Differential Revision: [D78295683](https://our.internmc.facebook.com/intern/diff/D78295683/)

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Jul 14, 2025
PythonMessage was getting a bit stringly typed. I've sectioned into 4 enum case (CallMethod, Result, Exception, Uninit) which capture when you have to pay attention to things like rank/response_port.

I have to further add functionality in a follow-up to get actor ordering correct.

Differential Revision: [D78295683](https://our.internmc.facebook.com/intern/diff/D78295683/)

ghstack-source-id: 296136316
Pull Request resolved: #529
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 14, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78295683

PythonMessage was getting a bit stringly typed. I've sectioned into 4 enum case (CallMethod, Result, Exception, Uninit) which capture when you have to pay attention to things like rank/response_port.

I have to further add functionality in a follow-up to get actor ordering correct.

Differential Revision: [D78295683](https://our.internmc.facebook.com/intern/diff/D78295683/)

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Jul 14, 2025
Pull Request resolved: #529

PythonMessage was getting a bit stringly typed. I've sectioned into 4 enum case (CallMethod, Result, Exception, Uninit) which capture when you have to pay attention to things like rank/response_port.

I have to further add functionality in a follow-up to get actor ordering correct.

Differential Revision: [D78295683](https://our.internmc.facebook.com/intern/diff/D78295683/)
ghstack-source-id: 296146814
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78295683

PythonMessage was getting a bit stringly typed. I've sectioned into 4 enum case (CallMethod, Result, Exception, Uninit) which capture when you have to pay attention to things like rank/response_port.

I have to further add functionality in a follow-up to get actor ordering correct.

Differential Revision: [D78295683](https://our.internmc.facebook.com/intern/diff/D78295683/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78295683

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 438a1e6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants